package com.bsj.sipgateway.sip.bean;

import com.bsj.power.common.def.entity.gb28181.Device;
import lombok.Data;
import org.dom4j.Element;

import javax.sip.RequestEvent;

/**
 * @Description sip消息封装类
 * @Author zhaoyang
 * @Date 2024/6/24 15:48
 */
@Data
public class SipMsgInfo {

    private RequestEvent evt;
    private Device device;
//    private ParentPlatform platform;
    private Element rootElement;

    public SipMsgInfo(RequestEvent evt, Device device, Element rootElement) {
        this.evt = evt;
        this.device = device;
        this.rootElement = rootElement;
    }

    public SipMsgInfo(RequestEvent evt, Element rootElement) {
        this.evt = evt;
//        this.platform = platform;
        this.rootElement = rootElement;
    }
}
